Skip to main content

shiftKey

Type

function

Summary

Returns the state of the Shift key.

Syntax

the shiftKey
shiftKey()

Description

Use the shiftKey function to check whether the user is pressing the Shift key.

Examples

if shiftKey() is down then beep
set the locked of me to (the shiftKey is up)

Value

NameTypeDescription

return

The shiftKey function returns down if the key is pressed and up if it's not.

constant: left

control structure: function

function: keysDown

glossary: return

message: scrollbarBeginning

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?